/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

import java.awt.Image;

/**
 *
 * @author dennis
 */
public class BackgroundTile extends Tile {
    
    
    Image image;
    private boolean accessible = false;
    
    /**
     * Creates a Background tile
     * @param xPos position on x
     * @param yPos position on y
     * @param tileWidth width of tile
     * @param tileHeight height of tile
     */
    public BackgroundTile (int xPos, int yPos, int tileWidth, int tileHeight){    
        super(xPos, yPos, tileWidth, tileHeight);
                
        this.accessible = false;
        
    }
    
    /**
     * Checks if this tile is accessible
     * @return true of false
     */
    public boolean isAccessible(){
        return this.accessible;
    }
        
}
